import { pickerOptionsStatic } from '@/utils/config'
import i18n from '@/utils/i18n'
export const formItems = [
  {
    filed: 'flag',
    type: 'select',
    options: [
      { value: '1', label: i18n.t('message.zj') },
      { value: '2', label: i18n.t('message.js') }
    ],
    label: i18n.t('message.jylx')
  },
  {
    filed: 'selTime',
    type: 'daterange',
    clearable: false,
    label: i18n.t('message.cjsj'),
    pickerOptions: pickerOptionsStatic
  },
  {
    filed: 'orderId',
    type: 'input',
    label: i18n.t('message.zxk')
  },
  {
    filed: 'changeType',
    type: 'select',
    label: i18n.t('message.czlx'),
    options: [
      { label: i18n.t('message.chouzhi'), value: '1' },
      { label: i18n.t('message.xf'), value: '2' },
      { label: i18n.t('message.tx'), value: '4' },
      { label: i18n.t('message.yetz'), value: '5' },
      { label: i18n.t('message.gqqn'), value: '6' }
    ]
  }

]
export const queryFormConfig = {
  formItems,
  online: true
}

export const propList = [
  { label: i18n.t('message.lsh'), prop: 'id', minWidth: '140' },
  { label: i18n.t('message.czlx'), prop: 'changeTypeName', minWidth: '100' },
  { label: i18n.t('message.szlx'), prop: 'flag', minWidth: '100' },
  { label: i18n.t('message.jybjy'), prop: 'value', minWidth: '120' },
  { label: i18n.t('message.jyzjy'), prop: 'giveValue', minWidth: '120' },
  { label: i18n.t('message.zxk'), prop: 'name', minWidth: '100' },
  { label: i18n.t('message.ddh'), prop: 'orderId', minWidth: '160' },
  { label: i18n.t('message.jysj'), prop: 'createTime', minWidth: '160' }
]
